package com.igeekhome.biz.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.igeekhome.pojo.WorkQualityStatistics;
import com.igeekhome.dao.WorkQualityStatisticsMapper;
import com.igeekhome.biz.IWorkQualityStatisticsService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 工作质量统计 服务实现类
 * </p>
 *
 * @author ${author}
 * @since 2021-03-16
 */
@Service
public class WorkQualityStatisticsServiceImpl extends ServiceImpl<WorkQualityStatisticsMapper, WorkQualityStatistics> implements IWorkQualityStatisticsService {
    @Override
    public int getSumeffsess(QueryWrapper qw) {
        if(qw==null){
            qw=new QueryWrapper();
        }
        return this.baseMapper.getsumeffsess(qw);
    }

    @Override
    public int getSumresolve(QueryWrapper qw) {
        if(qw==null){
            qw=new QueryWrapper();
        }
        return this.baseMapper.getsumresolve(qw);
    }

    @Override
    public int getSumunsolve(QueryWrapper qw) {
        if(qw==null){
            qw=new QueryWrapper();
        }
        return this.baseMapper.getsumunsolve(qw);
    }

    @Override
    public int getSumgood(QueryWrapper qw) {
        if(qw==null){
            qw=new QueryWrapper();
        }
        return this.baseMapper.getsumgood(qw);
    }

    @Override
    public int getSummedium(QueryWrapper qw) {
        if(qw==null){
            qw=new QueryWrapper();
        }
        return this.baseMapper.getsumdedium(qw);
    }

    @Override
    public int getSumbad(QueryWrapper qw) {
        if(qw==null){
            qw=new QueryWrapper();
        }
        return this.baseMapper.getsumbad(qw);
    }

    @Override
    public int getSumno(QueryWrapper qw) {
        if(qw==null){
            qw=new QueryWrapper();
        }
        return this.baseMapper.getsumno(qw);
    }
}
